package com.ytf.auth.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @className: LoginController
 * @author: YTF
 * @date: 2025/4/30 22:50
 * @description: 登入配置
 */
@Controller
public class LoginController {

    @GetMapping("/")
    public String index() {
        return "index";
    }

    @GetMapping("/login")
    public String login() {
        return "login";
    }

    @PostMapping("/login/sms")
    public String smsLogin() {
        return "index";
    }


}
